﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
	public class ComConfig
	{ 
		/// <summary>
		/// 串口名
		/// </summary>
		public string COMName;
		/// <summary>
		///波特率
		/// </summary>
		public int btv;
		/// <summary>
		/// 超时时间
		/// </summary>
		
		public int waitouttime = 0;
		/// <summary>
		/// 循环次数
		/// </summary>
		public int loopcount= 0;
		/// <summary>
		///起始下标
		/// </summary>
		public int nowindex = 0;
		/// <summary>
		/// 流水码长度
		/// </summary>
		public int streamlength = 0;
		/// <summary>
		/// 间隔时间
		/// </summary>
		public int waittime = 3000;
		/// <summary>
		/// 自动回复的配置项
		/// </summary>
		public List<AutoMsgModel> models = new List<AutoMsgModel>();
		/// <summary>
		/// 当前发送的字符串
		/// </summary>
		public List<byte> SendMsg = new List<byte>();
		
	}
}
